package com.acoreful.acf2java.commons.utils;

import java.io.IOException;
import java.io.InputStream;

public abstract class IOUtils {

    public static byte[] toByteArray(InputStream inputStream) {
        try {
            return org.apache.commons.io.IOUtils.toByteArray(inputStream);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
    
}
